package cn.bld.mapper;

import cn.bld.entity.StorageRecord;
import cn.bld.entity.SysSupplier;
import cn.bld.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysStorageRecordMapper {
    public Integer findCount(@Param("goodsName") String goodsName , @Param("supplierId") Integer supplierId ,@Param("payStatus") Integer payStatus);
    public List<StorageRecord> findByCondition(@Param("goodsName") String goodsName , @Param("supplierId") Integer supplierId ,@Param("payStatus") Integer payStatus, @Param("offset") Integer offset, @Param("size") Integer size);
    public int insertStorage(StorageRecord storageRecord);
    public StorageRecord findById(@Param("id")Integer id);
    public int updateStorage(StorageRecord storageRecord);
    public int deleteStorage(@Param("storageRecordId") Integer storageRecordId);

}
